package com.fun_ordering.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class OrderDetail implements Serializable {
    private Integer orderDetailId;

    private Integer orderId;

    private Integer dishId;

    private BigDecimal dishNumber;

    private BigDecimal dishPrice;

    private Integer isDelete;

    private Integer status;

    private String dishName;

    private DishInfo dishInfo;

    private static final long serialVersionUID = 1L;

    public DishInfo getDishInfo() {
        return dishInfo;
    }

    public void setDishInfo(DishInfo dishInfo) {
        this.dishInfo = dishInfo;
    }

    public Integer getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Integer orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }

    public BigDecimal getDishNumber() {
        return dishNumber;
    }

    public void setDishNumber(BigDecimal dishNumber) {
        this.dishNumber = dishNumber;
    }

    public BigDecimal getDishPrice() {
        return dishPrice;
    }

    public void setDishPrice(BigDecimal dishPrice) {
        this.dishPrice = dishPrice;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName == null ? null : dishName.trim();
    }
}